import request from '@/utils/request'

// 销售订单列表
export function apiOrdersLists(params: any) {
    return request.get({ url: '/orders.orders/lists', params })
}

// 添加销售订单
export function apiOrdersAdd(params: any) {
    return request.post({ url: '/orders.orders/add', params })
}

// 编辑销售订单
export function apiOrdersEdit(params: any) {
    return request.post({ url: '/orders.orders/edit', params })
}
// 编辑销售订单
export function apiOrdersShenhe(params: any) {
    return request.post({ url: '/orders.orders/shenhe', params })
}

// 删除销售订单
export function apiOrdersDelete(params: any) {
    return request.post({ url: '/orders.orders/delete', params })
}

// 销售订单详情
export function apiOrdersDetail(params: any) {
    return request.get({ url: '/orders.orders/detail', params })
}